package com.ruoyi.odorservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.Result;
import com.ruoyi.odorservice.entity.Craft;
import com.ruoyi.odorservice.entity.CraftOdor;
import com.ruoyi.odorservice.model.bean.CraftIndustryAssociationBean;
import com.ruoyi.odorservice.model.bean.CraftInfoListBean;
import com.ruoyi.odorservice.model.bean.CraftOdorListBean;
import com.ruoyi.odorservice.model.vo.CraftListVo;
import com.ruoyi.odorservice.model.vo.CraftOdorListVo;

public interface CraftService extends IService<Craft> {
    Result<CraftListVo> craftList(CraftInfoListBean craftInfoListBean);

    Result<Boolean> addCraft(CraftIndustryAssociationBean craft);

    Result<Boolean> updateCraft(CraftIndustryAssociationBean craft);

    Result<Boolean> addOdor(CraftOdor craftOdor);

    Result<CraftOdorListVo> craftOdorList(CraftOdorListBean craftOdorListBean);
}
